<template>
    <div>
<h1>hello Vue</h1>
<input type="text" v-model="obj.name">
<p>{{ obj.name }}</p>
    </div>
</template>

<script setup lang="ts">

import{ref,reactive}from 'vue'
let obj = reactive({
    name:'张三',
    age:''
})

</script>

<style scoped>

</style>